package com.ss.android.account.v2.b;

import android.os.Message;
import com.bytedance.common.utility.collection.WeakHandler.Callback;
import com.ss.android.account.activity.mobile.d.c;
import com.ss.android.account.activity.mobile.d.i;

public final class b implements Callback {
    private final com.ss.android.account.v2.b.a b;
    private final f a;

    public b(com.ss.android.account.v2.b.a arg1, f arg2) {
        this.b = arg1;
        this.a = arg2;

    }

    public final void handleMsg(Message message) {
        if(message.what != 10 || !(message.obj instanceof i)) {
            if(message.what == 11 && ((message.obj instanceof c))) {
                Object v0 = message.obj;
                if(this.a != null) {
                    this.a.b(((c)v0).a, this.b.a(((c)v0)), v0);
                }
            }
        }
        else if(this.a != null) {
            this.a.b(null);
        }
    }
}

